import request from '#/utils/requestAbort';

// 数据获取
export async function querySpotResumeAnalysisDetail(data) {
  return request(`/reanalyze/shanxiContractDataTypeDetail/longTermQuotationTactics`, {
    method: 'post',
    data,
  });
}
// 时序参数获取
export async function getTimeTradeData(data) {
  return request(`/reanalyze/shanxiContractDataTypeDetail/getTimeTradeData`, {
    method: 'post',
    data,
  });
}

export async function getDynamicColumns(params) {
  return request('/reanalyze/generalDynamicColumns/getDynamicColumns', {
    method: 'POST',
    data: params,
  });
}

// 省份-交易中心-场站（数据权限）
export async function queryMarketList(menuCode) {
  return request(`/power/dataPower/common/${menuCode}/t_station`, {
    method: 'GET',
  });
}
